Skip to main content

SwaggerClient::DefaultApi

All URIs are relative to //api.estuary.tech/

MethodHTTP requestDescription
viewer_getGET /viewerFetch viewer details

viewer_get

UtilViewerResponse viewer_get

Fetch viewer details

This endpoint fetches viewer details such as username, permissions, address, owned miners, user settings etc.

Example

# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
# Configure API key authorization: bearerAuth
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end

api_instance = SwaggerClient::DefaultApi.new

begin
#Fetch viewer details
result = api_instance.viewer_get
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DefaultApi->viewer_get: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

UtilViewerResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json